/* Thème pour back office "Flick" */

/* reset -------------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}

/* general ------------------------------------------------------------------ */

html, body {
	height: 100%;
	
}
body {
	font-family: verdana, "dejavu sans", serif;
	font-size: 12px;
}
#global {
	min-height: 100%;
	position : relative;
	background: url(images/menu-background.png) repeat-y;
}
#main {
	padding-bottom: 50px;
	display: table;
	width: 100%;
}
#menu, #content {
	display: table-cell;
}
.hidden {
	display: none;
}
img.icon {
	vertical-align: middle;
}

/* header ------------------------------------------------------------------- */

#header {
	height: 75px;
	background: url(images/header.png) #444444 repeat-x;
	color: white;
	padding: 0 20px;
	position: relative;
	border-bottom: 1px solid #888888;
}
#header h1 {
	font-size: 18px;
	letter-spacing: 1px;
	padding-top: 10px;
	text-shadow: 1px 1px 3px black;
	/*background: url(images/header_miage_admin.jpg) no-repeat;
	text-indent: -9000px;*/
}
#connected_user {
	background: #444444;
	font-size: 11px;
	text-align: right;
	top: -5px;
	right: 16px;
	padding: 10px 6px;
	border: 1px solid #666;
	position: absolute;
	-moz-box-shadow: 0px 2px 10px black;
	-webkit-box-shadow: 0px 2px 10px black;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #ddd;
	line-height: 14px;
}
#connected_user strong {
	text-shadow: 1px 1px 0 black;
}
#connected_user a {
	color: white;
	text-shadow: 1px 1px 0 black;
	text-decoration: none;
	font-weight: bold;
}
#connected_user a:hover {
	text-decoration: underline;
}

/* menu --------------------------------------------------------------------- */

#menu {
	width: 200px;
	padding: 0 20px;
}
#menu h2 {
	font-size: 13px;
	line-height: 20px;
	text-align: center;
}
#menu ul {
	background: url(images/menu-shadow.png) no-repeat;
	padding: 10px 0 14px 0;
}
#menu ul:last-child {
	border-bottom: 1px solid silver;
	
}
#menu li a {
	font-weight: bold;
	font-size: 11px;
	text-decoration: none;
	color: #303030;
	text-shadow: 1px 1px 0 white;
	display: block;
	height: 20px;
	line-height: 20px;
	text-indent: 4px;
	margin: 1px 0;
}
#menu li:hover a {
	color: white;
	text-shadow: 1px 1px 0 #303030;
	background: #0073ea;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}
#menu li.active {
	margin-right: -20px;
	
}
#menu li.active a {
	color: #ff0084;
	text-shadow: none;
	background: white;
	border-top: 1px solid #888;
	border-left: 1px solid #888;	
	border-bottom: 1px solid #888;
	-webkit-border-radius: 3px 1px 1px 3px;
	-moz-border-radius: 3px 1px 1px 3px;
}

/* content ------------------------------------------------------------------ */

#content {
	background-color: white;
	padding: 25px 35px;
	color: #333333;
}
#content h2 {
	font-size: 18px;
	color: #444444;
	background: #f8f8f8;
	margin-bottom: 18px;
	padding: 5px 20px;
	border: 1px solid #ddd;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-box-shadow: 0 0 5px #888888;
	-webkit-box-shadow: 0 0 5px #888888;
}
#content h2 a {
	color: #0073ea;
	text-decoration: none;
}
#content h2 a:after {
	content: " » ";
	color: #ff0084;
	font-size: 22px;
}
#content p {
	margin: 12px 0;
	line-height: 130%;
}

/* footer ------------------------------------------------------------------- */

#footer {
	clear: both;
	border-top: 1px solid #888888;
	font-size: 10px;
	color: silver;
	background-color: #555555;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 30px;
	line-height: 30px;
	text-align: center;
	text-shadow: 1px 1px 0 black;
}
#footer strong {
	color: white;
}
#footer a {
	color: silver;
}

/* Stylized forms ----------------------------------------------------------- */

form.stylized {
	margin: 5px;
}
form.stylized fieldset {
	border: 1px solid #ddd;
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #f0f0f0;
}
form.stylized fieldset legend {
	padding: 3px 10px;
	font-size: 13px;
	font-weight: bold;
	color: #0073ea;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	-moz-border-radius: 4px;
}

form.stylized input[type=checkbox],
form.stylized input[type=radio] {
	vertical-align: middle;
	margin: 1px;
}
form.stylized input[type=text],
form.stylized input[type=password] {
	min-width: 240px;
}
form.stylized input[type=number] {
	width: 60px;
}
form.stylized textarea,
form.stylized input[type=text],
form.stylized input[type=password],
form.stylized input[type=number] {
	border: 1px solid silver;
	padding: 3px;
	background: url(images/input_bg.png) white repeat-x;
}
form.stylized textarea {
	width: 600px;
}
form.stylized input[type=text]:focus,
form.stylized input[type=password]:focus,
form.stylized input[type=number]:focus {
	background: #fffaf0;
}
form.stylized table td {
	padding: 3px 5px;
	vertical-align: middle;
}
form.stylized table td.top {
	padding-top: 6px;
	vertical-align: top;
}


/* Sortable items ----------------------------------------------------------- */

#main .sortable-container {
	background: #f0f0f0;
	border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 5px;
	margin: 10px 0;
}
#main .sortable-item {
	background: white url(images/sortable-item-bg.png) repeat-x center bottom;
	border: 1px solid #ddd;
	border-radius: 8px;
	-moz-border-radius: 8px;
	margin: 5px;
	padding: 5px 5px 5px 20px;
	min-height: 50px;
}
#main .sortable-item.ui-sortable-helper {
	-webkit-box-shadow:0px 0px 12px #a0a0a0;
	-moz-box-shadow:0px 0px 12px #a0a0a0;
}
#main .sortable-item:hover {
	background: #fff0c0;
	cursor: move;
}
#main .sortable-item  h4 {
	margin: 0 0 4px 0;
}
#main .sortable-actions {
	background: url(images/input-shaddow.gif);
	float: right;
	border: 1px solid silver;
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 2px;
}
#main .sortable-place-holder {
	border: 1px solid #aaa;
	background: silver;
	border-radius: 8px;
	-moz-border-radius: 8px;
	margin: 5px;
	padding: 5px 5px 5px 20px;
	min-height: 50px;
}
/* Menus management --------------------------------------------------------- */

#menus_manager {
	padding: 10px;
}
#menus_manager .first-level-item {
	margin: 10px;
	background-color: white;
	-webkit-box-shadow: 0px 0px 12px #a0a0a0;
	-moz-box-shadow:0px 0px 12px #a0a0a0;
	border-radius: 10px;
	-moz-border-radius: 10px;
}
#menus_manager .second-level {
	border-top: 1px solid #ddd;
	padding: 5px 0;
}
#menus_manager .second-level-item {
	height: 22px;
	margin: 2px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background: url(images/input-shaddow.gif) white no-repeat;
	border: 1px solid #ddd;
}
#menus_manager .second-level .placeholder {
	height: 22px;
	margin: 2px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background: silver;
	border: 1px solid #aaa;
}
#menus_manager .first-level-item.offline,
#menus_manager .second-level-item.offline {
	background: #eeeeee;
}
#menus_manager span.icon-box {
	border-right: 1px solid #ddd;
	padding: 0 5px;
	display: inline-block;
	height: 22px;
	line-height: 22px;
}
#menus_manager span.right-box {
	float: right;
	display: inline-block;
	height: 22px;
	line-height: 22px;
	padding-right: 5px;
}
#menus_manager .link {
	text-decoration: none;
	color: #0073ea;
}
#menus_manager .link img.icon {
	display: none;
}
#menus_manager .link:hover img.icon {
	display: inline;
}
#menus_manager .handle:hover {
	cursor: move;
}
#menus_manager .first-level-item.ui-sortable-helper,
#menus_manager .second-level-item.ui-sortable-helper {
	-webkit-box-shadow: 0px 0px 10px #505050;
	-moz-box-shadow: 0px 0px 10px #505050;
}

#menu_item_form select {
	width: 260px;
}
#menu_item_form p {
	margin: 0 2px 6px 2px;
}
#menu_item_form label {
	width: 120px;
	display: inline-block;
}

/* Details tables  ---------------------------------------------------------- */

table.details {
	width: 100%;
}
table.details tr:hover td {
	background-color: #fff9db;
}
table.details td {
	padding: 4px 6px;
	vertical-align: top;
	font-size: 12px;
}
table.details td:first-child {
	font-weight: bold;
	width: 200px;
}
table.details td:first-child:after {
	content: " :";
}
table.details a {
	color: #0073ea;
	text-decoration: none;
}
table.details a:hover {
	text-decoration: underline;
}

